package com.ygqh.baby.mapper;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.po.YgChannelCategory;
import com.ygqh.baby.po.YgChannelCategoryExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface YgChannelCategoryMapper {
	int countByExample(YgChannelCategoryExample example);

	int deleteByExample(YgChannelCategoryExample example);

	int deleteByPrimaryKey(Long id);

	int insert(YgChannelCategory record);

	int insertSelective(YgChannelCategory record);

	List<YgChannelCategory> selectByExample(YgChannelCategoryExample example);

	YgChannelCategory selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") YgChannelCategory record, @Param("example") YgChannelCategoryExample example);

	int updateByExample(@Param("record") YgChannelCategory record, @Param("example") YgChannelCategoryExample example);

	int updateByPrimaryKeySelective(YgChannelCategory record);

	int updateByPrimaryKey(YgChannelCategory record);

	List<YgChannelCategory> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param("q") String q);

	int countSuper(@Param("q") String q);
}